Dialog

constructor(tag: String? = null, getFragmentManager: ActivityLifecycleSubscribable.LifecycleManager.() -> FragmentManager = { fragmentManager }, createDialog: () -> DialogFragment)

Parameters

tag

Optional tag to add to the Dialog

getFragmentManager

Optional getter for the FragmentManager to handle showing the DialogFragment

createDialog

Function to create the DialogFragment to display